package com.xiang.community.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import redis.clients.jedis.JedisPool;

/**
 * @author qixiangLi
 * @Date 2021/11/15
 */
@Configuration
public class JedisConfig {
    @Bean
    public JedisPool jedisPool() {
        return new JedisPool();
    }
}
